// 引入js模块
const fs = require("fs");

// // readFile实现
// let data = fs.readFileSync("./Here Comes the Strikeout.mp3");
//
// // 写入文件
// fs.writeFileSync("./Here-Comes-the-Strikeout.mp3", data);

const rs = fs.createReadStream("./Here Comes the Strikeout.mp3");
const ws = fs.createWriteStream("./Here-Comes-the-Strikeout_1.mp3");

rs.on("data", (chunk) => {
  ws.write(chunk);
});
